* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Consolas", "DejaVu Sans Mono", "Fira Code", "Inconsolata",
    "Source Code Pro", monospace;
  background-color: #3494e4;
  display: flex;
  justify-content: center;
  color: white;
}

.container {
  text-align: center;
}

.title {
  font-size: 35px;
  font-weight: 600;
  margin: 15px 0;
}

.goal {
  font-size: 20px;
  margin-bottom: 40px;
}

.bottle {
  width: 150px;
  height: 320px;
  background-color: white;
  margin: 25px auto;
  border-radius: 0 0 35px 35px;
  border: 4px solid #144fc6;
  position: relative;
  overflow: hidden;
}

.fill {
  width: 142px;
  height: 0px;
  position: absolute;
  border-radius: 0 0 31px 31px;
  bottom: 0px;
  background-color: #6ab3f8;
  color: #144fc6;
  font-size: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: height 0.4s linear;
  overflow: hidden;
}

.empty {
  width: 142px;
  height: 240px;
  position: absolute;
  top: -4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #144fc6;
  transition: height 0.4s linear;
  background-color: white;
}

.total {
  font-size: 18px;
  font-weight: 600;
}

.remain {
  font-size: 14px;
  font-weight: 300;
}

.cups {
  margin: 20px auto;
  width: 230px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cup {
  width: 50px;
  height: 88px;
  background-color: white;
  border-radius: 0 0 15px 15px;
  margin-bottom: 15px;
  border: 4px solid #144fc6;
  color: #144fc6;
  padding: 0 8px;
  font-size: 14px;
  word-wrap: break-word;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.cup.active {
  background-color: #6ab3f8;
  color: white;
}
